<table class="table table-bordered table-striped table-hover">
	<tr>
		<th></th>
		<th colspan="3">{{ $year.'年'.$month.'月（当月）' }}</th>
		<th colspan="3">{{ $year.'年（全年）' }}</th>
		<th colspan="2">{{ $year -1 .'年'.$month.'月同期' }}</th>
    </tr>
    <tr>
		<th>大区</th>
		<th>预估开票金额</th>
		<th>实际开票金额</th>
		<th>开票金额完成度</th>
		<th>预估开票金额(当年)</th>
		<th>实际开票</th>
		<th>开票金额完成度</th>
		<th>实际开票</th>
		<th>同期增减</th>
    </tr>
  @forelse($report_region_indicator->regions as $invoice_region)
	<tr>
		<td>{{ $invoice_region->code_desc }}</td>
		<td>{{ number_format($invoice_region->predict_invoice_month, 2) }}</td>
		<td>{{ number_format($invoice_region->real_invoice_month, 2) }}</td>
		<td>{{ round_percent($invoice_region->getProgressMonth()) }}</td>
		<td>{{ number_format($invoice_region->predict_invoice_year, 2) }}</td>
		<td>{{ number_format($invoice_region->real_invoice_year, 2) }}</td>
		<td>{{ round_percent($invoice_region->getProgressYear()) }}</td>
		<td>{{ round_percent($invoice_region->real_invoice_last_term_year, 2) }}</td>
		<td>{{ $invoice_region->get_same_term_comparison_year() }}</td>
	</tr>
  @empty
  	<tr><td>暂无数据</td></tr>
  @endforelse
	<tr>
		<th>合计</th>
		<th>{{ number_format($report_region_indicator->total_predict_month, 2) }}</th>
		<th>{{ number_format($report_region_indicator->total_real_month, 2) }}</th>
		<th>{{ round_percent($report_region_indicator->getTotalProgressMonth()) }}</th>
		<th>{{ number_format($report_region_indicator->total_predict_year, 2) }}</th>
		<th>{{ number_format($report_region_indicator->total_real_year, 2) }}</th>
		<th>{{ round_percent($report_region_indicator->getTotalProgressYear()) }}</th>
		<th>实际开票</th>
		<th>同期增减</th>
	</tr>
</table>